package com.lightjet.macross.base.upms.service;

import com.lightjet.macross.base.upms.domain.ResourceInfo;
import com.lightjet.macross.base.upms.domain.RoleInfo;
import com.lightjet.macross.base.upms.domain.RoleResourceLink;
import com.lightjet.macross.common.core.BaseService;
import com.lightjet.macross.common.dto.ResponseDTO;

import java.util.List;

public interface RoleResourceLinkService extends BaseService<RoleResourceLink,Integer> {

    List<RoleResourceLink> FindByRoleinfo(RoleInfo roleInfo);

    ResponseDTO<String> UpdateResources(RoleInfo role, List<ResourceInfo> resourceInfoList);

    void ClearCache();

}
